package ModelLayer;

public class Tax {
    // <editor-fold defaultstate="collapsed" desc="Attributes">
    private int id_tax;
    private float rate;
    private String name;
    // </editor-fold>

    // <editor-fold defaultstate="collapsed" desc="Constructors">
    public Tax() {
    }

    public Tax(int id_tax, float rate, String name) {
        this.id_tax = id_tax;
        this.rate   = rate;
        this.name   = name;
    }
    // </editor-fold>

    // <editor-fold defaultstate="collapsed" desc="Set & Get Methods">
    //Set & Get: ID
    public void setIDTax(int id_tax) {
        this.id_tax = id_tax;
    }
    public int getIDTax() {
        return this.id_tax;
    }

    //Set & Get: Rate
    public void setRate(float rate) {
        this.rate = rate;
    }
    public float getRate() {
        return this.rate;
    }

    //Set & Get: Name
    public void setName(String name) {
        this.name = name;
    }
    public String getName() {
        return this.name;
    }
    // </editor-fold>
}
